package com.yellowpage.bigdata.data;

import javax.persistence.*;
import java.sql.Date;

/**
 * Created by mac on 15/11/16.
 */
@Entity
@Table(name = "nsp_onofflog_ta_region_month", schema = "", catalog = "omc")
public class NspOnofflogTaRegionMonthEntity {
    private long id;
    private String logDate;
    private String regionCode;
    private Integer imeiMonthCount;
    private Integer activeCount;
    private Integer passiveCount;
    private Integer imeiAllCount;
    private Integer imeiNewCount;
    private String createUser;
    private Date createTime;
    private String lastUpdateUser;
    private Date lastUpdateTime;
    private String note;

    @Id
    @Column(name = "ID")
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "LOG_DATE")
    public String getLogDate() {
        return logDate;
    }

    public void setLogDate(String logDate) {
        this.logDate = logDate;
    }

    @Basic
    @Column(name = "REGION_CODE")
    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    @Basic
    @Column(name = "IMEI_MONTH_COUNT")
    public Integer getImeiDayCount() {
        return imeiMonthCount;
    }

    public void setImeiDayCount(Integer imeiMonthCount) {
        this.imeiMonthCount = imeiMonthCount;
    }

    @Basic
    @Column(name = "ACTIVE_COUNT")
    public Integer getActiveCount() {
        return activeCount;
    }

    public void setActiveCount(Integer activeCount) {
        this.activeCount = activeCount;
    }

    @Basic
    @Column(name = "PASSIVE_COUNT")
    public Integer getPassiveCount() {
        return passiveCount;
    }

    public void setPassiveCount(Integer passiveCount) {
        this.passiveCount = passiveCount;
    }

    @Basic
    @Column(name = "IMEI_ALL_COUNT")
    public Integer getImeiAllCount() {
        return imeiAllCount;
    }

    public void setImeiAllCount(Integer imeiAllCount) {
        this.imeiAllCount = imeiAllCount;
    }

    @Basic
    @Column(name = "IMEI_NEW_COUNT")
    public Integer getImeiNewCount() {
        return imeiNewCount;
    }

    public void setImeiNewCount(Integer imeiNewCount) {
        this.imeiNewCount = imeiNewCount;
    }

    @Basic
    @Column(name = "CREATE_USER")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "LAST_UPDATE_USER")
    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    @Basic
    @Column(name = "LAST_UPDATE_TIME")
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Basic
    @Column(name = "NOTE")
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

}
